/**
  ******************************************************************************
  * @file   : time.h
  * @author : 测试1组（houtiezhu）
  * @version: v0
  * @date   : 2019.07.09
  * @brief  :
  *
  * Copyright (C) 2019  Hangzhou SDIC Microelectronics Co., Ltd
  ******************************************************************************
**/

#ifndef TIME_H
#define TIME_H
#include "define.h"
/*系统头文件包含*/
//#include "YinXing.h"
extern	uint8 	TimeCount6_66;
extern	uint8 	WatchTimeCount;
extern	uint8	fRTC_500ms;
extern	uint16  AllTotalTime;
extern uint8    	Second;
extern uint8     	Minute;
extern uint8     	Hour;
extern uint8     	Day;
extern uint8     	Month;
extern uint16  		AllTotalTime;
extern uint16 		TimeInterval;
extern uint8   	MDay;
extern uint8   AlarmN;
extern uint8   AlarmHour[6];
extern uint8   AlarmMinute[6];
extern uint8   AlarmOnOff[6];
extern volatile uint8 KeyCount3[5];


void InitIrqLevels(void);
void UserRtc_Init(void);
void Timer0_int(void);
void UserTimer0_Init(void);
void delay(uint8 i);
void Rtc_int(void);
void AlarmSet(void);
void Rtc_1min_interrupt(void);

#endif



/************************ (C) COPYRIGHT Hangzhou SDIC Microelectronics *****END OF FILE****/
